package com.hnyfkj.jyindustry.biz.wenjian.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 上传服务类
 * </p>
 *
 * @author Bys
 * @since 2022-03-24
 */
public interface IUploadService {

    /**
     * 多文件上传
     *
     * @param
     * @return
     */
    String uploadFiles(MultipartFile[] files) throws Exception;

    /**
     * 单文件上传
     *
     * @param
     * @return
     */
    String uploadFile(MultipartFile file) throws Exception;

    /**
     * 分片上传
     *
     * @param file
     * @return
     */
    String shardUploadFile(MultipartFile file) throws Exception;
}
